from rest_framework.serializers import ModelSerializer

from .models import *

from rest_framework import serializers

class LoginSer(ModelSerializer):
    # 自定义表名
    class Meta:
        model=Login
        fields='__all__'